package day0427.com;/*
 * @创建者：黄苟苟
 * @创建时间：2021/4/27   11:35
 * @Description描述
 **/

public class IntgerParse {
    public static void main(String[] args) {
        try {
            String s="W";
            int i=Integer.parseInt(s);//
            System.out.println(i);
            try {
                Class c=Class.forName("com.dad.bob");
            }catch (ClassNotFoundException ee){
                ee.printStackTrace();
            }
        } catch (NumberFormatException e) {
            System.out.println("数据转换异常");
            System.out.println(ExpTools.getExceptionMessage(e));
        }

    }
}
